export const pointUp = (loc: any) => {
  wx.request({
    url: "https://orbit.tinyorbits.com/api/point",
    method: "POST",
    data: {
      "longitude": loc.longitude,
      "latitude": loc.latitude
    },
    success: (res) => {
      console.log(res.data)
    },
    header: {
      'content-type': "application/json"
    },
    fail: (err) => {
      console.log(err.errMsg)
    }
  })
}